package com.hub.esdemo.repository;


import com.hub.esdemo.dto.User;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import java.util.List;

/**
 * @ author 飞天蝙蝠
 * @ date & time 2024/12/28 13:44
 */
public interface UserRepository extends ElasticsearchRepository<User, String> {

    List<User> findByName(String name);
}
